//
//  EditorViewController.h
//  shusheng
//
//  Created by rimi on 16/7/9.
//  Copyright © 2016年 yuying. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "iflyMSC/IFlySpeechSynthesizerDelegate.h"
#import "iflyMSC/IFlySpeechSynthesizer.h"//引入语音合成类
#import <iflyMSC/IFlySpeechUnderstander.h>//引入语音识别类

@interface EditorViewController : UIViewController<IFlySpeechSynthesizerDelegate,IFlySpeechSynthesizerDelegate>

@property (nonatomic,strong) IFlySpeechSynthesizer  *iFlySpeechSynthesizer;//合成部分
@property (nonatomic,strong) IFlySpeechUnderstander *iFlySpeechUnderstander;//识别部分

@property (nonatomic,strong) NSString *titleNameSting;
@property (nonatomic,strong) NSString *fileName;
@property (nonatomic,strong) NSString *wordString;

@property (nonatomic,assign) BOOL isNovel;
@property (nonatomic,strong) NSString *essayId;
@property (nonatomic,strong) NSString *novelId;
@property (nonatomic,strong) NSString *chapterId;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UIButton *shareBtn;

@property (weak, nonatomic) IBOutlet UIButton *startOrEndBtn;

@property (weak, nonatomic) IBOutlet UITextView *textString;

@property (nonatomic,strong) NSString   *result;
@property (nonatomic,strong) NSString   *str_result;

@property (nonatomic) BOOL  isCanceled;

@end
